package com.xlf.common.controller;

import java.util.List;

import com.jfinal.core.Controller;
import com.xlf.common.model.Catalog;

public class CatalogController extends Controller {

	public void showcatalog() {
		List<Catalog> rows = Catalog.dao.find("select * from catalog order by c_id");
		setAttr("rows", rows);
		renderJson();
	}

}
